﻿using DeMeng.Models.Base;
using SqlSugar;
using System;

namespace DeMeng.Models.System
{
    /// <summary>
    /// 用户组织表
    /// </summary>
    [SugarTable("SystemDepartment")]
    public class SystemDepartmentEntity : BaseEntity
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 上级Id
        /// </summary>
        public Guid ParentId { get; set; }

        /// <summary>
        /// 层级
        /// </summary>
        public int Level { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int StoreCount { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        public int SequenceNumber { get; set; }
    }
}
